package com.chenfan.mcn.model.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.chenfan.mcn.model.AeRoyalties;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author chenguopeng
 * @Date 2021/6/8 14:03
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class AeRoyaltiesVO extends AeRoyalties implements Serializable {

    /**
     * 执行单号
     */
    private String excuteCode;

    /**
     * 红人昵称
     */
    @Excel(name = "红人昵称", orderNum = "4")
    private String starNickName;

    /**
     * 单据状态
     */
    @Excel(name = "单据状态", replace = {"草稿_-3", "待执行_-2", "执行中_-1", "待提交_0", "审批中_1", "待打款_2", " 审批拒绝_3", "已撤回_4", "已打款_5", "已作废_9"}, orderNum = "2")
    private Integer approvalStatus;

    /**
     * 执行单总金额
     */
    @Excel(name = "执行单总金额", orderNum = "3")
    private Double actualQuotedPrice;

    /**
     * 执行人id
     */
    private Long excutorId;

    /**
     * 执行人名称
     */
    private String excutorName;

    /**
     * 执行人与部门负责人标记（1执行人，2部门负责人）
     */
    private Integer type;


    /**
     * 部门名称
     */
    private String departmentName;

    /**
     * 实际发布时间
     */
    @Excel(name = "实际发布时间", orderNum = "9", format = "yyyy-MM-dd")
    private Date realPublishDate;

    /**
     * 打款时间
     */
    @Excel(name = "打款时间", orderNum = "11", format = "yyyy-MM-dd")
    private Date paidStarDate;

    /**
     * 合同回款时间
     */
    @Excel(name = "合同回款时间", orderNum = "8", format = "yyyy-MM-dd")
    private Date payBackDate;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间", orderNum = "20", format = "yyyy-MM-dd HH:mm:ss")
    private Date exportCreateDate;


    /**
     * 品牌
     */
    @Excel(name = "品牌", orderNum = "5")
    private String brandNameN;

}
